NDepend.API Documentation
Implicit Type Conversion(Debt,Nullable<TimeSpan>) Operator
NDepend.TechnicalDebt Namespace > Debt Structure > Implicit Type Conversion Operator : Implicit Type Conversion(Debt,Nullable<TimeSpan>) Operator
The nullable System.TimeSpan value to convert to a Debt value.
A nullable System.TimeSpan value can be implicitly converted to a Debt value.
Syntax
public Debt operator implicit( 
   Nullable<TimeSpan> nullableTimeSpan
)

Parameters

nullableTimeSpan
The nullable System.TimeSpan value to convert to a Debt value.
Remarks
In case of null nullableTimeSpan, the value Debt.Zero is built.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

Debt Structure
Debt Members
Overload List